package jk.rule.core;

import java.util.Collections;
import java.util.List;

/**
 * @author cuichao
 */
public class Agenda {

    /**
     * 要执行的规则集合
     */
    private List<Rule> rules;
    /**
     * 执行记录
     */
    private List<String> record;

    public Agenda(List<Rule> rules) {
        if(rules == null){
            rules = Collections.EMPTY_LIST;
        }
        this.rules = Collections.unmodifiableList(rules);
    }

    public List<Rule> getRules(){
        return this.rules;
    }


}
